package universe.utils;

public class RandomUtils {

	public static Vector3D randomVector3D(long[] limits) {
		Vector3D ans = new Vector3D();
		ans.x = (float) (Math.random() * limits[0]);
		ans.y = (float) (Math.random() * limits[1]);
		ans.z = (float) (Math.random() * limits[2]);
		return ans;
	}

	public static double random(double minValue, double maxValue) {
		return Math.random() * (maxValue - minValue) + minValue;
	}
}
